package com.neusoft.oop;
/*
 * 一旦初始化就不能修改
 * 
 */
public class Mouse extends Animal {
	//final
	private final String color;

	public Mouse(String color) {
		super();
		this.color = color;
		System.out.println("color is "+ color);
	}
	
	public void eat() {
		System.out.println("the mouse is eating rice");
	}

	public String getColor() {
	
		return color;
	}
	
	
	
	
}
